package leagueapp;

/**
 *
 * @author a
 */
public class Team {

    public int id;
    public String name;
    public String country;
    public String league;
    public int year;
    public int matchesPlayed;
    public int matchesWon;
    public int matchesLost;
    public int points;
    public int setsWon;
    public int setsLost;
    public int pointsWon;
    public int pointsLost;


    Team(int aId, String aName){
        id = aId;
        name = aName;
    }
    
    Team(int aId, String aName, String aCountry, String aLeague, int aYear, int aMatchesPlayed, int aMatchesWon, int aMatchesLost, int aPoints, int aSetsWon, int aSetsLost, int aPointsWon, int aPointsLost) {
        id = aId;
        name = aName;
        country = aCountry;
        league = aLeague;
        year = aYear;
        matchesPlayed = aMatchesPlayed;
        matchesWon = aMatchesWon;
        matchesLost = aMatchesLost;
        points = aPoints;
        setsWon = aSetsWon;
        setsLost = aSetsLost;
        pointsWon = aPointsWon;
        pointsLost = aPointsLost;
    }
}